import Clissisf from '@/views/clissisf.vue'
import Home from '@/views/home.vue'
import Index from '@/views/index.vue'
import Login from '@/views/login.vue'
import Register from '@/views/register.vue'
import Shop from '@/views/shop.vue'
import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/register', component: Register,
    },
    {
      path: '/login', component: Login,
    },
    {
        path: '/classisf', component: Clissisf,
      },
    {
      path: '/index', component: Index,
      children:[
        {
        path: 'home', component: Home,
      },
        
        {
        path: 'shop', component: Shop,
      },
        {
        path: 'home', component: Home,
      },
      ]
    },
  ],
})

export default router
